package com.zhdl.modules.common.formula.web.controller;

import com.zhdl.common.util.WebResult;
import com.zhdl.modules.common.formula.service.FormulaDictionaryService;
import com.zhdl.modules.common.formula.service.FormulaService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping(path = "/formula", produces = MediaType.APPLICATION_JSON_VALUE)
public class FormulaController {

    @Resource
    private FormulaService formulaService;

    @Resource
    private FormulaDictionaryService formulaDictionaryService;


    @PostMapping("/addF")
    public WebResult<String> addFormula() {


        return WebResult.okResult();
    }

    @PostMapping("/addFD")
    public WebResult<String> addFormulaDictionary() {


        return WebResult.okResult();
    }

    @PostMapping("/updateF")
    public WebResult<String> updateFormula() {


        return WebResult.okResult();
    }

    @PostMapping("/updateFD")
    public WebResult<String> updateFormulaDictionary() {


        return WebResult.okResult();
    }

    @PostMapping("/deleteF")
    public WebResult<String> deleteFormula() {


        return WebResult.okResult();
    }

    @PostMapping("/deleteFD")
    public WebResult<String> deleteFormulaDictionary() {


        return WebResult.okResult();
    }


    @GetMapping("/getAllF")
    public WebResult<String> getFormula() {

        return WebResult.okResult();
    }

    @GetMapping("/getAllFD")
    public WebResult<String> getFormulaDictionary() {

        return WebResult.okResult();
    }

    @GetMapping("/getAllPageF")
    public WebResult<String> getFormulaPage() {

        return WebResult.okResult();
    }

    @GetMapping("/getAllPageFD")
    public WebResult<String> getFormulaDictionaryPage() {

        return WebResult.okResult();
    }

}
